package config;

import resources.Word;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;

public class database {

    connect c;

    public database() {
        c = new connect();
    }
    public void closeConnection() throws SQLException
    {
        c.closeConnection();
    }
/*    public String findMeaning(String word) {

        String meaning = null;
        ResultSet S = null, s1 = null;
        String string, r, q, q2;
        try {
            q = "select meaning,word from Dictionary where word like '" + word + "'";
            S = c.getResult(q);
            if (S.next()) {
                meaning = S.getString(1);
            }
        } catch (Exception e) {
        }

        return meaning;
    }*/

 

  
}